package com.struts.demo.action;

import java.util.Date;
import java.text.DateFormat;
import com.opensymphony.xwork2.ActionSupport;
	
public class HelloWorldAction extends ActionSupport {

	private String message;

	public String getMessage() {
		return message;
	}

	public String execute() {
		message = "Hello World, Now is "
				+ DateFormat.getInstance().format(new Date());
		return SUCCESS;
	}

}
